package com._520it.wms.query;

import com.alibaba.druid.util.StringUtils;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Created by Jon on 2017/11/1.
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class EmployeeQueryObject extends QueryObject {
    private String keyword;//根据关键字查询
    private Long deptId = -1L;//根据员工部门查询

  public String getKeyword() {
      return StringUtils.isEmpty(keyword) ? null : keyword;
  }

}
